//
//  UITabBarItem+Factory.m
//  IngCard
//
//  Created by kf on 2017/5/19.
//  Copyright © 2017年 IngDan. All rights reserved.
//

#import "UITabBarItem+Factory.h"

@implementation UITabBarItem (Factory)

+ (UITabBarItem *)tabBarItemWithTitle:(NSString *)title
                                            image:(UIImage *)image
                                    selectedImage:(UIImage *)selectedImage
//                               selectedTitleColor:(UIColor *)selectedTitleColor
                                              tag:(NSInteger)tag
{
    UITabBarItem *tabBarItem = [[UITabBarItem alloc] initWithTitle:title image:image tag:tag];
    tabBarItem.selectedImage = selectedImage;
    return tabBarItem;
}

@end
